package com.woniuxy.background.service;


import com.woniuxy.background.pojo.Admin;

import java.util.List;

public interface AdminService {
    Admin findAdmin(Admin admin);
    List<Admin> adminList();
    int deleteByPrimaryKey(Integer adminId);
    int insert(Admin record);
    Admin selectByPrimaryKey(Integer adminId);
    int updateByPrimaryKeySelective(Admin record);
    Admin selectAdminByName(Admin admin);
    List<Admin> selectAdminByRoleId(int roleId);
}
